package com.love.marriage.userBehaviorInfo.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.love.marriage.userBehaviorInfo.entity.UserBehaviorInfo;
import com.love.marriage.userBehaviorInfo.vo.UserBehaviorInfoStatisticsVo;
import com.love.marriage.userBehaviorInfo.vo.UserBehaviorInfoVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * description:  用户行为信息表 mapper
 * author:       alex
 * createDate:   2024-10-14 23:30:59
 * version:      1.0.0
 */
@Mapper
public interface UserBehaviorInfoMapper extends BaseMapper<UserBehaviorInfo> {

    Page<UserBehaviorInfoVo> getPage(Page<UserBehaviorInfoVo> page, @Param("userBehaviorInfoVo") UserBehaviorInfoVo userBehaviorInfoVo);

    UserBehaviorInfoVo queryUserBehaviorInfo(@Param("id") Long id);

    List<UserBehaviorInfoVo> queryUserBehaviorInfoInfo(@Param("userBehaviorInfoVo") UserBehaviorInfoVo userBehaviorInfoVo);

    UserBehaviorInfoStatisticsVo queryUserBehaviorStatisticsInfo(@Param("userId") Long userId);
}
